package com.youtellv1.service;

import com.github.pagehelper.PageInfo;
import com.youtellv1.entity.ChildPay;

import java.util.Map;

public interface ChildPayService {
    PageInfo<ChildPay> findChildPayByPage(int page, int size);
    Integer childPayCountService();

    Map<String, Object> getPayList(Integer cid, String month, int page, int size);

    PageInfo<ChildPay> findChildPayByCid(int page, int size, int cid);

    ChildPay findById(Integer cpid);

    ChildPay findAllService(ChildPay childPay);

    void saveService(ChildPay childPay);

    void updateService(ChildPay childPay);

    void deleteService(ChildPay childPay);

    Integer countChildService();

    Float countChildPayService();
}
